package com.sgcc.pda.mdrh.entity;

/**
 * 常量类.
 *
 * @author 王沛栋
 * @data 2017/11/30 11:23
 */
@SuppressWarnings("all")
public interface Constants {

    /**
     * 定义对外的broadcast描述
     */
    public static final String BROADCAST_PERMISSION_DISC = "com.sgcc.pda.permissions.COMM_BROADCAST";


    public static final String INTENT_ID = "INTENT_ID";
    public static final String INTENT_VALUE = "INTENT_VALUE";
    public static final String INTENT_SECTION_NO = "INTENT_SECTION_NO";//下标，为刷新数据提供。


    public static final String MSG_OPEN_NEED_UPDATE_FIRST = "请先在应用市场更新此应用！";
    public static final String MSG_APP_NO_INSTALL = "应用未安装，请先安装！";


    public static final int DOWNLOAD_STATE_DEFAULT = 0;//下载状态 -默认
    public static final int DOWNLOAD_STATE_DOWNLOADING = 1;//下载状态 -下载中
    public static final int DOWNLOAD_STATE_DOWNLOADED = 2;//下载状态 -下载完成/安装中
    public static final int DOWNLOAD_STATE_FAIL = 3;//下载状态 -下载失败

    public static final String TOPIC_NOTIFICATION = "IOT_MQTT_TOPIC/notification";// 小红点通知类消息主题
    public static final String TOPIC_MESSAGE = "IOT_MQTT_TOPIC/message/";// 消息主题 + 会话标识
    public static final String TOPIC_BUSINESS = "MP-BUSINESS-TOPIC/business/";// 按单位，角色发送消息的主题 + 会话标识


}
